package de.gwtprime.shared.requestFactory;

import java.util.Set;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;

import de.gwtprime.server.model.EntityLocator;
import de.gwtprime.server.model.User2;

@ProxyFor(value = User2.class, locator = EntityLocator.class)
public interface User2Proxy extends EntityProxy{

	Long getId();
	
	String getName();
	String getEmail();
	
	void setName(String name);
	void setEmail(String email);
	
	boolean isAdmin();
	
	public Long getKarma();
	
	public Double getBalanceEuro();
	
	public Double getBalanceBitcoin();

	void setPass1(String pass1); 
	
	public String getPass1();
	
	
	public String getBankRecipient();
	public String getBankIBAN();
	public String getBankBIC();
	
	public void setBankRecipient(String bankRecipient);
	public void setBankIBAN(String bankIBAN);
	public void setBankBIC(String bankBIC);
	
	public Set<TransactionProxy> getTransactions();

	String getPrivateWithdrawAddress();
	
	public void setPrivateWithdrawAddress(String privateWithdrawAddress);
	
}
